import request from '@/utils/request'

// 查询森理订单列表
export function listSlOrder(query) {
  return request({
    url: '/projects/SlOrder/list',
    method: 'get',
    params: query
  })
}

// 查询森理订单详细
export function getSlOrder(id) {
  return request({
    url: '/projects/SlOrder/' + id,
    method: 'get'
  })
}

// 新增森理订单
export function addSlOrder(data) {
  return request({
    url: '/projects/SlOrder',
    method: 'post',
    data: data
  })
}

// 修改森理订单
export function updateSlOrder(data) {
  return request({
    url: '/projects/SlOrder',
    method: 'put',
    data: data
  })
}

// 删除森理订单
export function delSlOrder(id) {
  return request({
    url: '/projects/SlOrder/' + id,
    method: 'delete'
  })
}
